#ifndef CREATENEWALBUM_H
#define CREATENEWALBUM_H

#include <QWidget>
#include <QPainter>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>

class CreateNewAlbum : public QWidget
{
    Q_OBJECT
public:
    explicit CreateNewAlbum(QWidget *parent = nullptr);
    QString AlbumName(){return albumname;}
    QString Tags(){return tag;}
    QString Intro(){return intro;}
signals:
    void ok();
    void cancle();
protected:
    void paintEvent(QPaintEvent*e)override;
private:
    void SetLineStyleSheet(QLineEdit*line);
    QLabel*albumnamelabel,*taglabel,*introlabel;
    QLineEdit*albumnameline,*tagline,*introline;
    QPushButton*okbtn,*canclebtn;
    QVBoxLayout*mainlayout;
    QString albumname,tag,intro;
};

#endif // CREATENEWALBUM_H
